package com.allwees.support.payment.oceanpay.dto;


import lombok.Data;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * 交易安全签名，用于验证交易的安全性。使用 SHA256 加密，明文加密结构：
 * account+terminal+payment_id+tracking_results+secureCode
 *
 * @author Daniel
 * @version 1.0.0
 * @since 2020/12/5 21:20
 */
@Data
@Root(name = "response",strict = false)
public class LogisticsUploadResult extends CommonParam {
    //        00: Failure
    //        01: Success
    //        02: Invalid account
    //        03: Invalid terminal
    //        04: Error signature information
    //        05: Account error
    //        06: Invalid tracking_number
    //        07: Invalid URL
    //        08: Invalid Handler
    //        09: Invalid payment_id
    //        10: Required parameters incomplete;
    //        11: Invalid ip
    //        12: Payment_id cannot be empty
    //        14: Account cannot be empty
    //        15: Terminal cannot be empty
    //        16: Handler cannot be empty
    //        17: Payment_id does not exist
    //        18: Tracking_site cannot be empty
    //        19: Invalid order_number
    //        99: System error
    @Element(name = "tracking_results")
    private String tracking_results;
}
